var o = getApp();

Page({
    data: {
        server: o.server,
        serverUrl: o.serverUrl,
        imginfo: ""
    },
    onLoad: function(n) {
        var e = this;
        o.request({
            url: o.server + "/productApi/getProductInfo",
            method: "POST",
            data: {
                id: id
            },
            header: {
                "content-type": "application/x-www-form-urlencoded"
            },
            success: function(o) {
                e.imginfo = o.data.result.product.info[0].pic, console.log("that.imginfo", e.imginfo);
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});